<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Release 8.1.18</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.1.2 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Release Notes"
HREF="release.html"><LINK
REL="PREVIOUS"
TITLE="Release 8.1.19"
HREF="release-8-1-19.html"><LINK
REL="NEXT"
TITLE="Release 8.1.17"
HREF="release-8-1-17.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2011-12-01T22:07:59"></HEAD
><BODY
CLASS="SECT1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.1.2 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Release 8.1.19"
HREF="release-8-1-19.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
>Appendix E. Release Notes</TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="Release 8.1.17"
HREF="release-8-1-17.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="RELEASE-8-1-18"
>E.69. Release 8.1.18</A
></H1
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Release Date: </B
>2009-09-09</P
></BLOCKQUOTE
></DIV
><P
>   This release contains a variety of fixes from 8.1.17.
   For information about new features in the 8.1 major release, see
   <A
HREF="release-8-1.html"
>Section E.87</A
>.
  </P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN119624"
>E.69.1. Migration to Version 8.1.18</A
></H2
><P
>    A dump/restore is not required for those running 8.1.X.
    However, if you have any hash indexes on <TT
CLASS="TYPE"
>interval</TT
> columns,
    you must <TT
CLASS="COMMAND"
>REINDEX</TT
> them after updating to 8.1.18.
    Also, if you are upgrading from a version earlier than 8.1.15,
    see the release notes for 8.1.15.
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN119629"
>E.69.2. Changes</A
></H2
><P
></P
><UL
><LI
><P
>      Disallow <TT
CLASS="COMMAND"
>RESET ROLE</TT
> and <TT
CLASS="COMMAND"
>RESET SESSION
      AUTHORIZATION</TT
> inside security-definer functions (Tom, Heikki)
     </P
><P
>      This covers a case that was missed in the previous patch that
      disallowed <TT
CLASS="COMMAND"
>SET ROLE</TT
> and <TT
CLASS="COMMAND"
>SET SESSION
      AUTHORIZATION</TT
> inside security-definer functions.
      (See CVE-2007-6600)
     </P
></LI
><LI
><P
>      Fix handling of sub-SELECTs appearing in the arguments of
      an outer-level aggregate function (Tom)
     </P
></LI
><LI
><P
>      Fix hash calculation for data type <TT
CLASS="TYPE"
>interval</TT
> (Tom)
     </P
><P
>      This corrects wrong results for hash joins on interval values.
      It also changes the contents of hash indexes on interval columns.
      If you have any such indexes, you must <TT
CLASS="COMMAND"
>REINDEX</TT
> them
      after updating.
     </P
></LI
><LI
><P
>      Treat <CODE
CLASS="FUNCTION"
>to_char(..., 'TH')</CODE
> as an uppercase ordinal
      suffix with <TT
CLASS="LITERAL"
>'HH'</TT
>/<TT
CLASS="LITERAL"
>'HH12'</TT
> (Heikki)
     </P
><P
>      It was previously handled as <TT
CLASS="LITERAL"
>'th'</TT
> (lowercase).
     </P
></LI
><LI
><P
>      Fix overflow for <TT
CLASS="LITERAL"
>INTERVAL '<TT
CLASS="REPLACEABLE"
><I
>x</I
></TT
> ms'</TT
>
      when <TT
CLASS="REPLACEABLE"
><I
>x</I
></TT
> is more than 2 million and integer
      datetimes are in use (Alex Hunsaker)
     </P
></LI
><LI
><P
>      Fix calculation of distance between a point and a line segment (Tom)
     </P
><P
>      This led to incorrect results from a number of geometric operators.
     </P
></LI
><LI
><P
>      Fix <TT
CLASS="TYPE"
>money</TT
> data type to work in locales where currency
      amounts have no fractional digits, e.g. Japan (Itagaki Takahiro)
     </P
></LI
><LI
><P
>      Properly round datetime input like
      <TT
CLASS="LITERAL"
>00:12:57.9999999999999999999999999999</TT
> (Tom)
     </P
></LI
><LI
><P
>      Fix poor choice of page split point in GiST R-tree operator classes
      (Teodor)
     </P
></LI
><LI
><P
>      Fix portability issues in plperl initialization (Andrew Dunstan)
     </P
></LI
><LI
><P
>      Fix <SPAN
CLASS="APPLICATION"
>pg_ctl</SPAN
> to not go into an infinite loop if
      <TT
CLASS="FILENAME"
>postgresql.conf</TT
> is empty (Jeff Davis)
     </P
></LI
><LI
><P
>      Fix <TT
CLASS="FILENAME"
>contrib/xml2</TT
>'s <CODE
CLASS="FUNCTION"
>xslt_process()</CODE
> to
      properly handle the maximum number of parameters (twenty) (Tom)
     </P
></LI
><LI
><P
>      Improve robustness of <SPAN
CLASS="APPLICATION"
>libpq</SPAN
>'s code to recover
      from errors during <TT
CLASS="COMMAND"
>COPY FROM STDIN</TT
> (Tom)
     </P
></LI
><LI
><P
>      Avoid including conflicting readline and editline header files
      when both libraries are installed (Zdenek Kotala)
     </P
></LI
><LI
><P
>      Update time zone data files to <SPAN
CLASS="APPLICATION"
>tzdata</SPAN
> release 2009l
      for DST law changes in Bangladesh, Egypt, Jordan, Pakistan,
      Argentina/San_Luis, Cuba, Jordan (historical correction only),
      Mauritius, Morocco, Palestine, Syria, Tunisia.
     </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="release-8-1-19.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="release-8-1-17.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Release 8.1.19</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Release 8.1.17</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>